[INFO] cloning repository https://github.com/dhuckins/procname
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhuckins/procname" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhuckins%2Fprocname", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhuckins%2Fprocname'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 91a557b9e9982f734ceb96ace550ca87fbd08530
[INFO] checking dhuckins/procname against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhuckins%2Fprocname" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dhuckins/procname on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dhuckins/procname
[INFO] finished tweaking git repo https://github.com/dhuckins/procname
[INFO] tweaked toml for git repo https://github.com/dhuckins/procname written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/dhuckins/procname already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 15198d5f8fb7df966daa85c764c4003e6a3ad983f138a603eb33693f9a8b96f8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "15198d5f8fb7df966daa85c764c4003e6a3ad983f138a603eb33693f9a8b96f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15198d5f8fb7df966daa85c764c4003e6a3ad983f138a603eb33693f9a8b96f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15198d5f8fb7df966daa85c764c4003e6a3ad983f138a603eb33693f9a8b96f8", kill_on_drop: false }`
[INFO] [stdout] 15198d5f8fb7df966daa85c764c4003e6a3ad983f138a603eb33693f9a8b96f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b20e43514a50167b58b7979efac6236de69453d6971eac8063c727d1b6e62e2e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b20e43514a50167b58b7979efac6236de69453d6971eac8063c727d1b6e62e2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]     Checking procname v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`?
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use winapi::um::psapi;
[INFO] [stdout]   |         ^^^^^^ maybe a missing crate `winapi`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`?
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use winapi::shared::minwindef::{HMODULE, MAX_PATH};
[INFO] [stdout]   |         ^^^^^^ maybe a missing crate `winapi`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`?
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use winapi::um::processthreadsapi::GetCurrentProcess;
[INFO] [stdout]   |         ^^^^^^ maybe a missing crate `winapi`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `psapi`
[INFO] [stdout]   --> src/main.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let result = psapi::EnumProcessModules(
[INFO] [stdout]    |                  ^^^^^ use of undeclared type or module `psapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `psapi`
[INFO] [stdout]   --> src/main.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mod_name = psapi::GetModuleBaseNameA(
[INFO] [stdout]    |                    ^^^^^ use of undeclared type or module `psapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]   --> src/main.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let proc = GetCurrentProcess();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/main.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |         &mut module as *mut HMODULE,
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/main.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub unsafe fn get_process_name() -> Result<String, Error> {
[INFO] [stdout]    |                               - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 18 |         mem::size_of::<HMODULE>() as u32,
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut name_buf = [0i8; MAX_PATH];
[INFO] [stdout]    |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         MAX_PATH as u32,
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/main.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let name_buffer: [u8; MAX_PATH] = mem::transmute(name_buf);
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`?
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use winapi::um::psapi;
[INFO] [stdout]   |         ^^^^^^ maybe a missing crate `winapi`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub unsafe fn get_process_name() -> Result<String, Error> {
[INFO] [stdout]   |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/main.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut module = mem::uninitialized();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/main.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut bytes_needed = mem::uninitialized();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`?
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use winapi::shared::minwindef::{HMODULE, MAX_PATH};
[INFO] [stdout]   |         ^^^^^^ maybe a missing crate `winapi`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `winapi`?
[INFO] [stdout]  --> src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use winapi::um::processthreadsapi::GetCurrentProcess;
[INFO] [stdout]   |         ^^^^^^ maybe a missing crate `winapi`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `psapi`
[INFO] [stdout]   --> src/main.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let result = psapi::EnumProcessModules(
[INFO] [stdout]    |                  ^^^^^ use of undeclared type or module `psapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `psapi`
[INFO] [stdout]   --> src/main.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mod_name = psapi::GetModuleBaseNameA(
[INFO] [stdout]    |                    ^^^^^ use of undeclared type or module `psapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]   --> src/main.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let proc = GetCurrentProcess();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/main.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |         &mut module as *mut HMODULE,
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/main.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub unsafe fn get_process_name() -> Result<String, Error> {
[INFO] [stdout]    |                               - help: you might be missing a type parameter: `<HMODULE>`
[INFO] [stdout] ...
[INFO] [stdout] 18 |         mem::size_of::<HMODULE>() as u32,
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut name_buf = [0i8; MAX_PATH];
[INFO] [stdout]    |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         MAX_PATH as u32,
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/main.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let name_buffer: [u8; MAX_PATH] = mem::transmute(name_buf);
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub unsafe fn get_process_name() -> Result<String, Error> {
[INFO] [stdout]   |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/main.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut module = mem::uninitialized();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/main.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut bytes_needed = mem::uninitialized();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `procname`.
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]    --> src/main.rs:3:37
[INFO] [stdout]     |
[INFO] [stdout] 3   | pub unsafe fn get_process_name() -> Result<String, Error> {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]    --> src/main.rs:3:37
[INFO] [stdout]     |
[INFO] [stdout] 3   | pub unsafe fn get_process_name() -> Result<String, Error> {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b20e43514a50167b58b7979efac6236de69453d6971eac8063c727d1b6e62e2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b20e43514a50167b58b7979efac6236de69453d6971eac8063c727d1b6e62e2e", kill_on_drop: false }`
[INFO] [stdout] b20e43514a50167b58b7979efac6236de69453d6971eac8063c727d1b6e62e2e
